package com.yunhe.rentcars.pro.service.client;

import com.sun.deploy.util.BlackList;
import com.yunhe.rentcars.commons.dto.Pageable;
import com.yunhe.rentcars.pro.entity.client.BacList;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by Administrator on 2017/11/24 0024.
 */
public interface BlackListService {
    Pageable<BacList> findPage(Integer offset, Integer limit);
    /*
    * 添加
    * */
    void save(BacList bacList);
    /**
     *  删除
     * @param ids
     */
    void delBatch(String[] ids);

    /*
   * 修改前根据id查询所有信息
   * */
    BacList find(Long bId);
    /*
    * 修改
    * */
    void update(BacList bacList);

    /*
    * 多条件查询
    * */
    Pageable<BacList> findSearchList(String mobile, String name, String idCard);
}
